﻿using System;
namespace Model
{
    #region StudentInfoEntity
    /// <summary>
    /// Entity:StudentInfoEntity
    /// Author:wxc
    /// DateTime:2021/5/26 21:42:24
    /// </summary>
    [Serializable]
    public class StudentInfoEntity
    {
        #region Member Variables		
        protected string _iD = String.Empty;
        protected string _name = String.Empty;
        protected string _sex = String.Empty;
        protected string _nation = String.Empty;
        protected string _phone = String.Empty;
        protected string _address = String.Empty;
        protected string _email = String.Empty;
        protected string _collage = String.Empty;
        protected string _subject = String.Empty;
        protected int _stats;
        protected DateTime _bMtime;
        #endregion
        #region Constructer without paras        
        public StudentInfoEntity()
        {
        }
        #endregion
        #region Constructer with paras
        /// <summary>
        /// Constructer with paras
        /// </summary>
        /// <param name="iD"></param>
        /// <param name="name"></param>
        /// <param name="sex"></param>
        /// <param name="nation"></param>
        /// <param name="phone"></param>
        /// <param name="address"></param>
        /// <param name="email"></param>
        /// <param name="collage"></param>
        /// <param name="subject"></param>
        /// <param name="stats"></param>
        /// <param name="bMtime"></param>
        public StudentInfoEntity(
        string iD,
        string name,
        string sex,
        string nation,
        string phone,
        string address,
        string email,
        string collage,
        string subject,
        int stats,
        DateTime bMtime)
        {
            this._iD = iD;
            this._name = name;
            this._sex = sex;
            this._nation = nation;
            this._phone = phone;
            this._address = address;
            this._email = email;
            this._collage = collage;
            this._subject = subject;
            this._stats = stats;
            this._bMtime = bMtime;
        }
        #endregion
        #region Public Properties		
        public string ID
        {
            get { return _iD; }
            set { _iD = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Sex
        {
            get { return _sex; }
            set { _sex = value; }
        }

        public string Nation
        {
            get { return _nation; }
            set { _nation = value; }
        }

        public string Phone
        {
            get { return _phone; }
            set { _phone = value; }
        }

        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }

        public string email
        {
            get { return _email; }
            set { _email = value; }
        }

        public string Collage
        {
            get { return _collage; }
            set { _collage = value; }
        }

        public string Subject
        {
            get { return _subject; }
            set { _subject = value; }
        }

        public int stats
        {
            get { return _stats; }
            set { _stats = value; }
        }

        public DateTime BMtime
        {
            get { return _bMtime; }
            set { _bMtime = value; }
        }
        #endregion
    }
    #endregion
}
